import { BasicColumn, FormSchema } from "/@/components/Table"
import { rules } from "/@/utils/helper/validator"
import { render } from "/@/utils/common/renderUtils"

export const emailFormSchema: FormSchema[] = [
  {
    field: "email",
    label: "邮箱",
    component: "Input",
    slot: "email",
    required: true,
  },

  {
    field: "verifyCode",
    label: "验证码",
    component: "Input",
    slot: "verifyCode",
    required: true,
  },
]

export const phoneFormSchema: FormSchema[] = [
  {
    field: "phone",
    label: "手机号",
    component: "Input",
    slot: "phone",
    required: true,
  },
  {
    field: "verifyCode",
    label: "验证码",
    component: "Input",
    slot: "verifyCode",
    required: true,
  },
]
